package com.hqyj.service;

import com.hqyj.entity.SearchBean;
import com.hqyj.pojo.TbHouse;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnJava;

import java.util.HashMap;

/**
 * <p>
 * 房屋表 服务类
 * </p>
 *
 * @author gp
 * @since 2021-09-26
 */
public interface TbHouseService {

    // 查询房产
    HashMap<String, Object> list(TbHouse tbHouse);

    //新增
    HashMap<String, Object> insert(TbHouse tbHouse);

    //修改
    HashMap<String ,Object> update(TbHouse tbHouse);

    // 删除
    HashMap<String, Object> del(Integer id);

    HashMap<String, Object> listPage(SearchBean searchBean);
}
